import request from '@/utils/request'

// 查询团队进货补贴记录列表
export function listMallTdjhbtSeperateRecord(query) {
  return request({
    url: '/mall/mallTdjhbtSeperateRecord/list',
    method: 'get',
    params: query
  })
}

// 查询团队进货补贴记录详细
export function getMallTdjhbtSeperateRecord(id) {
  return request({
    url: '/mall/mallTdjhbtSeperateRecord/' + id,
    method: 'get'
  })
}

// 新增团队进货补贴记录
export function addMallTdjhbtSeperateRecord(data) {
  return request({
    url: '/mall/mallTdjhbtSeperateRecord',
    method: 'post',
    data: data
  })
}

// 修改团队进货补贴记录
export function updateMallTdjhbtSeperateRecord(data) {
  return request({
    url: '/mall/mallTdjhbtSeperateRecord',
    method: 'put',
    data: data
  })
}

// 删除团队进货补贴记录
export function delMallTdjhbtSeperateRecord(id) {
  return request({
    url: '/mall/mallTdjhbtSeperateRecord/' + id,
    method: 'delete'
  })
}
